package com.tosit.bmx.mapper;

import com.tosit.bmx.domian.Usershow;
import com.tosit.bmx.domian.UsershowExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface UsershowMapper {
    long countByExample(UsershowExample example);

    int deleteByExample(UsershowExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Usershow record);

    int insertSelective(Usershow record);

    List<Usershow> selectByExample(UsershowExample example);

    Usershow selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Usershow record, @Param("example") UsershowExample example);

    int updateByExample(@Param("record") Usershow record, @Param("example") UsershowExample example);

    int updateByPrimaryKeySelective(Usershow record);

    int updateByPrimaryKey(Usershow record);
    /**
     * 获取所有会员展示
     *
     * @param
     * @return
     * @author tsl
     * @date 2018/4/26 17:24
     */
    List<Usershow> selectAll();

    Integer deleteUsers(@Param("ids") List<Integer> ids);
}